crypto/cipher.gcmFallback.tagSize (field)
11 uses
crypto/cipher (current package)
gcm.go#L220: return &gcmFallback{cipher: cipher, nonceSize: nonceSize, tagSize: tagSize}, nil
gcm.go#L229: tagSize int
gcm.go#L237: return g.tagSize
gcm.go#L251: ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
gcm.go#L279: if g.tagSize < gcmMinimumTagSize {
gcm.go#L283: if len(ciphertext) < g.tagSize {
gcm.go#L286: if uint64(len(ciphertext)) > uint64((1<<32)-2)*gcmBlockSize+uint64(g.tagSize) {
gcm.go#L290: ret, out := sliceForAppend(dst, len(ciphertext)-g.tagSize)
gcm.go#L303: tag := ciphertext[len(ciphertext)-g.tagSize:]
gcm.go#L304: ciphertext = ciphertext[:len(ciphertext)-g.tagSize]
gcm.go#L308: if subtle.ConstantTimeCompare(expectedTag[:g.tagSize], tag) != 1 {